<h1><%= "#{t(:listing)} #{t(:treatment_groups)}" %></h1>

<table>
  <thead>
    <tr>
      <th>Label</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @treatment_groups.each do |treatment_group| %>
      <tr>
        <td><%= treatment_group.label %></td>
        <td><%= link_to "#{t(:show)}", treatment_group %></td>
        <td><%= link_to "#{t(:edit)}", edit_treatment_group_path(treatment_group) %></td>
        <td><%= link_to "#{t(:destroy)}", treatment_group, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to "#{t(:new_treatment_group)}", new_treatment_group_path %>
